public class Context {
    private DiscountStrategy discountStrategy;

    public Context(DiscountStrategy discountStrategy) {
        this.discountStrategy = discountStrategy;
    }

    public void discount(){
        discountStrategy.getDiscount();
    }
}
